home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Libraries
/
Bitmap Libraries 2.0
/
Examples
/
Digraph
/
MakeFile
< prev
next >
Wrap
Makefile
|
1996-02-27
|
2KB
|
72 lines
# File MakeFile Copyright (C) 1996 by John R. Montbriand. All Rights Reserved.
#
# File MakeFile
#
# Copyright (C) 1996 by John Montbriand. All Rights Reserved.
#
# Distribute freely in areas where the laws of copyright apply.
#
# Use at your own risk.
#
# Do not distribute modified copies.
#
# These various BitMap libraries and examples are for free!
#
# See the accompanying file BitMap.txt for details.
### variables defining what compiler commands to use
COMP_PPC = MrC
COMP_68K = SC
### normal build commands
Digraph ƒƒ Digraph.r Digraph.rsrc
Rez -i {RIncludes} Digraph.r -o Digraph
Digraph ƒƒ :obj:Digraph.c.68k :obj:BitMap.c.68k Digraph.r Digraph.rsrc
Link -w -t APPL -c '????' ∂
-o Digraph ∂
:obj:Digraph.c.68k ∂
:obj:BitMap.c.68k ∂
{CLibraries}StdCLib.o ∂
{Libraries}Interface.o ∂
{Libraries}MacRuntime.o
# data fork
Digraph ƒƒ :obj:Digraph.c.ppc :obj:BitMap.c.ppc Digraph.r Digraph.rsrc
PPCLink -w -o Digraph ∂
:obj:BitMap.c.ppc ∂
:obj:Digraph.c.ppc ∂
{SharedLibraries}InterfaceLib ∂
{SharedLibraries}StdCLib ∂
{PPCLibraries}PPCCRuntime.o ∂
{PPCLibraries}StdCRuntime.o
### PowerPC compiler commands
:obj:BitMap.c.ppc ƒ BitMap.c BitMap.h
{COMP_PPC} BitMap.c -o :obj:BitMap.c.ppc
:obj:Digraph.c.ppc ƒ Digraph.c BitMap.h
{COMP_PPC} Digraph.c -o :obj:Digraph.c.ppc
### 68000 compiler commands
:obj:BitMap.c.68k ƒ BitMap.c BitMap.h
{COMP_68K} BitMap.c -o :obj:BitMap.c.68k
:obj:Digraph.c.68k ƒ Digraph.c BitMap.h
{COMP_68K} Digraph.c -o :obj:Digraph.c.68k